package com.zbkj.crmeb.store.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 标准商品
 * @Description: 
 * @author daigb
 * @date 2021-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_product_norm")
@ApiModel(value="StoreProductNorm对象", description="标准商品表")
public class StoreProductNorm implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品条码（一维码）")
    private String barCode;

    @ApiModelProperty(value = "商品名称")
    private String storeName;

    @ApiModelProperty(value = "商品简介")
    private String storeInfo;

    @ApiModelProperty(value = "商品图片")
    private String image;

    @ApiModelProperty(value = "轮播图")
    private String sliderImage;

    @ApiModelProperty(value = "关键字")
    private String keyword;

    @ApiModelProperty(value = "分类id")
    private Integer cateId;

    @ApiModelProperty(value = "单位名")
    private String unitName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "品牌ID")
    private Integer brandId;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "供应商id")
    private Integer suppliersId;

    @ApiModelProperty(value = "供应商名称")
    private String suppliersName;

    @ApiModelProperty(value = "供应商编号")
    @TableField(exist = false)
    private String suppliersNameCode;

    @ApiModelProperty(value = "成分")
    private String composition;

    @ApiModelProperty(value = "规格")
    private String dimension;

    @ApiModelProperty(value = "色号")
    private String colorCode;

    @ApiModelProperty(value = "季节代码")
    private String seasonCode;

    @ApiModelProperty(value = "绑定商品数量")
    private Integer productCount;
    
    @ApiModelProperty(value = "是否被编辑过")
    private Boolean isChange;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "产地")
    private String productionPlace;

    @ApiModelProperty(value = "酒类商品酒庄")
    private String winery;

    @ApiModelProperty(value = "酒类商品葡萄品种")
    private String grapeVariety;

    @ApiModelProperty(value = "酒类商品年份")
    @TableField(exist = false)
    private String productYear;

}
